﻿using GN.Pay.Core.Values.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Services
{
    /// <summary>
    /// 银行卡查询服务
    /// </summary>
    public interface IBankCardQueryService
    {
        /// <summary>
        /// 归属查询
        /// </summary>
        /// <param name="cardNo">银行卡号</param>
        /// <returns></returns>
        IBankCardAscription AscriptionQuery(string cardNo);

        /// <summary>
        /// 验证
        /// </summary>
        /// <param name="verifyInfo">验证信息</param>
        /// <returns></returns>
        IBankCardVerifyResult Verify(IBankCardVerify verifyInfo);
    }
}
